<?php if(!defined("HDPHP_PATH"))exit;C("SHOW_NOTICE",FALSE);?><!DOCTYPE html>
<html lang="en">
<head>
	<meta charset="UTF-8">
	<title>欢迎使用EASYCMS系统</title>
	<script type='text/javascript' src='http://localhost/hdphp/hdphp/Extend/Org/Jquery/jquery-1.8.2.min.js'></script>
<link href='http://localhost/hdphp/hdphp/Extend/Org/hdjs/hdui/css/hdui.css' rel='stylesheet' media='screen'>
<script src='http://localhost/hdphp/hdphp/Extend/Org/hdjs/hdui/js/hdui.js'></script>
<link href='http://localhost/hdphp/hdphp/Extend/Org/hdjs/hdvalidate/css/hdvalidate.css' rel='stylesheet' media='screen'>
<script src='http://localhost/hdphp/hdphp/Extend/Org/hdjs/hdvalidate/js/hdvalidate.js'></script>
<script src='http://localhost/hdphp/hdphp/Extend/Org/cal/lhgcalendar.min.js'></script>
<script src='http://localhost/hdphp/hdphp/Extend/Org/hdjs/hdslide/js/hdslide.js'></script>
<script type='text/javascript'>
HOST = 'http://localhost';
ROOT = 'http://localhost/hu_cms';
WEB = 'http://localhost/hu_cms/index.php';
URL = 'http://localhost/hu_cms/index.php?m=Install&c=Index&a=setDb';
APP = 'http://localhost/hu_cms/CMS';
COMMON = 'http://localhost/hu_cms/CMS/Common';
HDPHP = 'http://localhost/hdphp/hdphp';
HDPHPDATA = 'http://localhost/hdphp/hdphp/Data';
HDPHPEXTEND = 'http://localhost/hdphp/hdphp/Extend';
MODULE = 'http://localhost/hu_cms/index.php?m=Install';
CONTROLLER = 'http://localhost/hu_cms/index.php?m=Install&c=Index';
ACTION = 'http://localhost/hu_cms/index.php?m=Install&c=Index&a=setDb';
STATIC = 'http://localhost/hu_cms/Static';
HDPHPTPL = 'http://localhost/hdphp/hdphp/Lib/Tpl';
VIEW = 'http://localhost/hu_cms/CMS/Install/View';
PUBLIC = 'http://localhost/hu_cms/CMS/Install/View/Public';
CONTROLLERVIEW = 'http://localhost/hu_cms/CMS/Install/View/Index';
HISTORY = 'http://localhost/hu_cms/index.php?m=Install&c=Index&a=install';
</script>
	<link type="text/css" rel="stylesheet" href="http://localhost/hu_cms/CMS/Install/View/Index/Css/css.css"/>
</head>
<body>
	<div class='wrap'>
		<div class='box' >
			<h1>服务器信息</h1>
			<form action="<?php echo U(insertSql);?>" method='post'>
			<div>
				<div class='title-header'>数据库配置</div>
				<table class='table2 hd-form'>
					<tr>
						<th>主机</th>
						<td>
							<input type="text" name='DB_HOST' value='localhost'/>
						</td>
					</tr>
					<tr>
						<th>帐号</th>
						<td>
							<input type="text" name='DB_USER' value='root'/>
						</td>
					</tr>
					<tr>
						<th>密码</th>
						<td>
							<input type="text" name='DB_PASSWORD' value=''/>
						</td>
					</tr>
					<tr>
						<th>数据库</th>
						<td>
							<input type="text" name='DB_DATABASE'/>
						</td>
					</tr>
				</table>
				<div class='title-header'>管理员帐号</div>
				<table class='table2 hd-form'>
					<tr>
						<th>管理员</th>
						<td>
							<input type="text" name='username' value='admin'/>
						</td>
					</tr>
					<tr>
						<th>密码</th>
						<td>
							<input type="text" name='password' value=''/>
						</td>
					</tr>
				</table>
			</div>
			<a href="<?php echo U('install');?>" class='hd-cancel'>上一步</a>
				<input type="submit" value='下一步' class='hd-success'>
			</form>
		</div>
	</div>
	
</body>
</html>